package com.zwr.sheller.customer.mapper;

import com.zwr.sheller.core.pojo.Order;
import com.zwr.sheller.core.pojo.Refund;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @Author LSY
 * @Date 2022/1/11 20:17
 * @Version 1.0
 **/
public interface CustomerOrderMapper extends Mapper<Order> {

    List<Order> findAllOrders(Long uid, Integer status);

    Double calculateTotalMoney(Long oid);

    Refund findRefundByOrderId(Long oid);
}
